package com.thwj.project.app.api.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("动态出参DynamicVo")
public class DynamicVo {
    /** 主键 */
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("发布人id")
    private Long userId;
    @ApiModelProperty("发布人id")
    private String userNickName;
    @ApiModelProperty("发布人id")
    private String userHeadPic;
    @ApiModelProperty("当前用户是否是会员")
    private Boolean vipOrNot = false;

    @ApiModelProperty("是否是自己的动态")
    private boolean myself = false;

    @ApiModelProperty("文字内容")
    private String content;

    @ApiModelProperty("图片列表 原始字段仅用于修改发布  展示固定去V2 |隔开")
    private String picList;

    @ApiModelProperty("图片列表|分割")
    private String picListV2;

    @ApiModelProperty("标签")
    private String tagJson;

    @ApiModelProperty("标签展示列表")
    private List<DynamicTagVo> tagVoList;

    @ApiModelProperty("动态状态|1=：未发布,2=：发布失败,3=发布成功")
    private Integer status;

    @ApiModelProperty("浏览量")
    private Integer lookCount;

    @ApiModelProperty("评论量")
    private Integer commentCount;
    @ApiModelProperty("当前用户是否发起了滴滴申请")
    private Boolean didiOrNot = false;

    @ApiModelProperty("当前用户是否已经点赞了")
    private Boolean goodOrNot = false;
    @ApiModelProperty("点赞量")
    private Integer goodCount;

    @ApiModelProperty("动态发布时间")
    private String createDate;

    @ApiModelProperty("评论列表 不做分页")
    private List<DynamicCommentVo> commentVoList;
}
